<template>
  <a-config-provider :locale="locale">
    <router-view />
  </a-config-provider>
</template>

<script>
import Vue from 'vue'
import { ConfigProvider } from 'ant-design-vue'
import zhCN from 'ant-design-vue/es/locale/zh_CN'

Vue.use(ConfigProvider)

export default {
  data () {
    return {
      locale: zhCN
    }
  }
}
</script>
